

<div class="layui-form" lay-filter="layuiadmin-form-useradmin1" style="padding: 20px 0 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">登录名</label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="text" name="loginName" id="loginName" value="{{ d.params.LoginName || '' }}" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
    
    <div class="layui-form-item">
      <label class="layui-form-label"> 电子邮箱</label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="text" name="email" id="email" value="{{ d.params.ProtectEMail || '' }}" lay-verify="email" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">电话</label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="text" name="mtel" id="mtel" value="{{ d.params.ProtectMTel || '' }}" lay-verify="mtel" placeholder="请输入电话" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
    <!-- 秘钥 -->
    <div class="layui-form-item">
      <label class="layui-form-label"></label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="hidden" type="text" name="token" value="ff8437b3-a8af-436f-8ba6-15adfb088bfe" lay-verify="mtel" placeholder="请输入电话" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
 
    
    <div class="layui-form-item">
      <label class="layui-form-label"></label>
      <div class="layui-input-inline">
        <input type="button" lay-submit lay-filter="LAY-user-front-submit" value="确认" class="layui-btn">
      </div>
    </div>
  </div>
  
  <script>
  layui.use(['admin', 'form', 'upload'], function(){
    var $ = layui.$
    ,form = layui.form
    ,upload = layui.upload;
    
    /* //上传头像
    upload.render({
      elem: '#layuiadmin-upload-useradmin'
      ,url: './json/upload/demo.js'
      ,accept: 'images'
      ,method: 'get'
      ,acceptMime: 'image/*'
      ,done: function(res){
        $(this.item).prev("div").children("input").val(res.data.src)
      }
    }); */
  })
  </script>